

#import "ZSContentViewController.h"

@interface ZSContentViewController ()

@end

@implementation ZSContentViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor whiteColor];
    UIView *topView = [[UIView alloc]initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH, kStatusBarHeight)];
    topView.backgroundColor = MAINCOLOR;
    [self.view addSubview:topView];
    
    UIWebView *webView = [[UIWebView alloc]init];
    [self.view addSubview:webView];
    
    NSURLRequest *request = [[NSURLRequest alloc]initWithURL:[NSURL URLWithString:self.urlStr]];
    
    [webView loadRequest:request];
    
    [webView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.offset(kStatusBarHeight);
        make.left.right.bottom.equalTo(self.view);
    }];
    webView.scrollView.showsVerticalScrollIndicator = NO;
    webView.scrollView.bounces = NO;
    
    
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
